﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTruyen.Models;
using System.Collections.ObjectModel;

namespace BlogTruyen.ViewModels
{
    public class MainPage : BaseModel
    {
        public List<MenuItem> items { get; set; }
        public MainPage()
        {
            items = new List<MenuItem>() { 
                new MenuItem{
                    title = "Trang Chủ",
                    icon = "/Assets/Icons/dark/appbar.home.png",
                    url = "Home",
                },
                new MenuItem{
                    title = "Cài Đặt",
                    icon = "/Assets/Icons/dark/appbar.settings.png",
                    url = "Setting",
                },
                new MenuItem{
                    title = "Thể Loại",
                    icon = "/Assets/Icons/dark/appbar.folder.png",
                    url = "javascript:void(0)",
                },
            };
            if (App.EnableAdvanceContent)
                items.AddRange(new List<MenuItem>(){
                new MenuItem{
                    title = "16+",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/16",
                },

                new MenuItem{
                    title = "18+",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/18",
               },
               new MenuItem{
                    title = "Adult",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/adult",
               },
                });
            items.AddRange(new List<MenuItem>(){
                new MenuItem{
                    title = "Action",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/action",
               },
                new MenuItem{
                    title = "Adventure",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/adventure",
               },

                new MenuItem{
                    title = "Anime",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/anime",
               },

                new MenuItem{
                    title = "Comedy",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/comedy",
               },

                new MenuItem{
                    title = "Comic",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/comic",
               },

                new MenuItem{
                    title = "Doujinshi",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/doujinshi",
               },

                new MenuItem{
                    title = "Drama",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/drama-new",
               },

                new MenuItem{
                    title = "Ecchi",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/ecchi-new",
               },

                new MenuItem{
                    title = "Fantasy",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/fantasy-new",
               },

                new MenuItem{
                    title = "Gender Bender",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/gender-bender-new",
               },

                new MenuItem{
                    title = "Harem",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/harem",
               },

                new MenuItem{
                    title = "Historical",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/historical",
               },

                new MenuItem{
                    title = "Horror",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/horror",
               },

                new MenuItem{
                    title = "Josei",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/josei",
               },

                new MenuItem{
                    title = "Live action",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/live-action",
               },

                new MenuItem{
                    title = "Magic",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/magic",
               },

                new MenuItem{
                    title = "manga",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/manga",
               },

                new MenuItem{
                    title = "Manhua",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/manhua",
               },

                new MenuItem{
                    title = "Manhwa",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/manhwa",
               },

                new MenuItem{
                    title = "Martial Arts",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/martial-arts",
               },

                new MenuItem{
                    title = "Mature",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/mature",
               },

                new MenuItem{
                    title = "Mecha",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/mecha",
               },

                new MenuItem{
                    title = "Mystery",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/mystery",
               },

                new MenuItem{
                    title = "Nấu Ăn",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/nau-an",
               },

                new MenuItem{
                    title = "One shot",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/one-shot",
               },

                new MenuItem{
                    title = "Psychological",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/psychological",
               },

                new MenuItem{
                    title = "Romance",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/romance",
               },

                new MenuItem{
                    title = "School Life",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/school-life",
               },

                new MenuItem{
                    title = "Sci-fi",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/sci-fi",
               },

                new MenuItem{
                    title = "Seinen",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/seinen",
               },

                new MenuItem{
                    title = "Shoujo",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/shoujo",
               },

                new MenuItem{
                    title = "Shoujo Ai",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/shoujo-ai",
               },

                new MenuItem{
                    title = "Shounen",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/shounen",
               },

                new MenuItem{
                    title = "Shounen Ai",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/shounen-ai",
               },

                new MenuItem{
                    title = "Slice of life",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/slice-of-life",
               },

                new MenuItem{
                    title = "Smut",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/smut",
               },

                new MenuItem{
                    title = "Soft Yaoi",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/soft-yaoi",
               },

                new MenuItem{
                    title = "Soft Yuri",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/soft-yuri",
               },

                new MenuItem{
                    title = "Sports",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/sports",
               },

                new MenuItem{
                    title = "Supernatural",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/supernatural",
               },

                new MenuItem{
                    title = "Tạp chí truyện tranh",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/tap-chi-truyen-tranh",
               },

                new MenuItem{
                    title = "Tragedy",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/tragedy",
               },

                new MenuItem{
                    title = "Trap (Crossdressing)",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/trap-crossdressing",
               },

                new MenuItem{
                    title = "Trinh Thám",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/trinh-tham",
               },

                new MenuItem{
                    title = "Truyện scan",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/truyen-scan",
               },

                new MenuItem{
                    title = "Video Clip",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/video-clip",
               },

                new MenuItem{
                    title = "VnComic",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/vncomic",
               },

                new MenuItem{
                    title = "Webtoon",
                    icon = "/Assets/Icons/dark/tag.png",
                    url = "/theloai/webtoon",
               },

                new MenuItem{
                    title = "Đủ Bộ",
                    icon = "/Assets/Icons/dark/appbar.folder.png",
                    url = "/theloai/truyen-full",
               },

                new MenuItem{
                    title = "Con Gái",
                    icon = "/Assets/Icons/dark/appbar.gender.female.png",
                    url = "/theloai/shoujo",
               },

                new MenuItem{
                    title = "Con Trai",
                    icon = "/Assets/Icons/dark/appbar.gender.male.png",
                    url = "/theloai/shounen",
               },
            });
        }
    }
}
